package com.java2007.dao;

import com.java2007.pojo.Admin;
import java.sql.SQLException;

/**
 * 用户持久层
 */
public interface AdminDao {
    /**
     * 通过用户名查询用户
     * @param adminName
     * @return
     */
    Admin selectByUserName(String adminName) throws SQLException;
}
